/**
 * 
 */
package com.testapp;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

/**
 * @author Pratik
 * Created on : 26-Jun-2011, 9:14:18 PM
 */
public class GAIPersistence {
	
	private static PersistenceManagerFactory factory;
	
	public static PersistenceManagerFactory getFactory() {
		if(factory == null) {
			factory = JDOHelper.getPersistenceManagerFactory("transactions-optional");
		}
		
		return factory;
	}
}
